home *** CD-ROM | disk | FTP | other *** search
- ISHFTC(3I) Last changed: 4-13-99
-
-
- NNAAMMEE
- IISSHHFFTTCC, IIIISSHHFFTTCC, JJIISSHHFFTTCC, KKIISSHHFFTTCC - Performs a circular shift of the
- rightmost bits
-
- SSYYNNOOPPSSIISS
- IISSHHFFTTCC (([II==]_i,, [SSHHIIFFTT==]_s_h_i_f_t [,,[SSIIZZEE==]_s_i_z_e]))
- IIIISSHHFFTTCC (([II==]_i,, [SSHHIIFFTT==]_s_h_i_f_t [,,[SSIIZZEE==]_s_i_z_e]))
- JJIISSHHFFTTCC (([II==]_i,, [SSHHIIFFTT==]_s_h_i_f_t [,,[SSIIZZEE==]_s_i_z_e]))
- KKIISSHHFFTTCC (([II==]_i,, [SSHHIIFFTT==]_s_h_i_f_t [,,[SSIIZZEE==]_s_i_z_e]))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, IRIX systems
-
- CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
-
- SSTTAANNDDAARRDDSS
- Fortran
-
- Fortran extensions: IIIISSHHFFTTCC, JJIISSHHFFTTCC, KKIISSHHFFTTCC
-
- DDEESSCCRRIIPPTTIIOONN
- The IISSHHFFTTCC, IIIISSHHFFTTCC, JJIISSHHFFTTCC, and KKIISSHHFFTTCC intrinsic functions perform
- a circular shift of the rightmost bits. They accept the following
- arguments:
-
- _i Must be of type integer. For IIIISSHHFFTTCC, must be of type
- integer (KIND=2). For JJIISSHHFFTTCC, must be of type integer
- (KIND=4). For KKIISSHHFFTTCC, must be of type integer (KIND=8).
-
- _s_h_i_f_t Must be of type integer. The absolute value of _s_h_i_f_t must
- be less than or equal to _s_i_z_e.
-
- _s_i_z_e Must be of type integer. The value of _s_i_z_e must be positive
- and must not exceed BBIITT__SSIIZZEE((_i)). If _s_i_z_e is absent, it is
- as if it were present with the value of BBIITT__SSIIZZEE(_i).
-
- These are elemental intrinsic functions. The names of these
- intrinsics cannot be passed as arguments.
-
- RREETTUURRNN VVAALLUUEESS
- The result type and type parameter are the same as _i. The result has
- the value obtained by shifting the _s_i_z_e rightmost bits of _i circularly
- by _s_h_i_f_t positions. If _s_h_i_f_t is positive, the shift is to the left;
- if _s_h_i_f_t is negative, the shift is to the right; and if _s_h_i_f_t is zero,
- no shift is performed. No bits are lost. The unshifted bits are
- unaltered.
-
- The bit model defines the interpretation of an integer value as a
- sequence of bits. For more information on the model, see the
- MMOODDEELLSS(3I) man page.
-
- EEXXAAMMPPLLEESS
- IISSHHFFTTCC((33,,22,,33)) has the value 5.
-
- SSEEEE AALLSSOO
- MMOODDEELLSS(3I)
-
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
- man page.
-